// 对象的解构
const obj = {name: 'zz',age: 14}
const { name } = obj
console.log(name) //zz

// 解构别名
const {name: aliaName} = obj
console.log(name) // zz
console.log(aliaName) //zz